﻿<UserControl x:Class="Sponsorship.Ui.Wpf.Views.MainMenuView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid DataContext="{Binding [MainMenuViewModel], Source={StaticResource Locator}}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>

        <Border>
            <StackPanel>
                <TextBlock Text="Sponsor"/>
                <Button Content="Neuer Sponsor" Command="{Binding AddSponsorCommand}"/>
                <Button Content="Sponsorenliste" Command="{Binding OpenSponsorshipListCommand}"/>
            </StackPanel>
        </Border>

        <Border Grid.Column="1">
            <StackPanel>
                <TextBlock Text="Personen"/>
                <Button Content="Neue Person"  Command="{Binding AddPersonCommand}"/>
                <Button Content="Personenliste" Command="{Binding OpenPersonListCommand}"/>
            </StackPanel>
        </Border>

        <Border Grid.Column="2">
            <StackPanel>
                <TextBlock Text="Geschenke"/>
                <Button Content="Neues Geschenk NOT IMPLEMENTED"  Command="{Binding AddPresentCommand}"/>
                <Button Content="Geschenkliste" Command="{Binding OpenPresentListCommand}"/>
            </StackPanel>
        </Border>

        <Border Grid.Column="3">
            <StackPanel>
                <TextBlock Text="Geschenkvorlagen"/>
                <Button Content="Neues Geschenk NOT IMPLEMENTED"  Command="{Binding AddPresentCommand}"/>
                <Button Content="Geschenkvorlagenliste" Command="{Binding OpenPresentTemplateListCommand}"/>
            </StackPanel>
        </Border>
    </Grid>    
    
</UserControl>
